package com.crm.service.crm.businessOpportunities.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.model.common.dtos.ResponseResult;
import com.crm.model.crm.businessOpportunities.dto.CustomInfoDto;
import com.crm.model.crm.businessOpportunities.dto.CustomInfoPageDto;
import com.crm.model.crm.businessOpportunities.dto.FishForDto;
import com.crm.model.crm.businessOpportunities.pojo.CustomInfo;

import java.util.List;

public interface CustomInfoService extends IService<CustomInfo> {
    //新增商机
    public ResponseResult add(CustomInfoDto customInfoDto);
    //查询商机
    public ResponseResult getAll(CustomInfoPageDto customInfoPageDto);
    //商机分配
    public ResponseResult addByRevertId(FishForDto fishForDto);
    //公海池查询（查询每页负责人的客户）
    public ResponseResult getByNotRevert(CustomInfoPageDto customInfoPageDto);
    //公共字段查询
    public ResponseResult getAllCommont();
}
